import club.beimeng.sendEmail.BEmail;
import club.beimeng.sendEmail.EmailSender;
import org.junit.Test;

public class SendEmail {
    @Test
    public void run(){
        BEmail bEmail = new BEmail();
        bEmail.setContent("<h1>测试邮件，应该是成功了!</h1>");
        bEmail.setTitle("2021年9月14日");
        EmailSender.setMessage(bEmail).sentTo("1192384722@qq.com");
    }
}
